package org.dllwh.mysql.controller;


import jakarta.annotation.Resource;
import org.dllwh.mysql.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 把今天最好的表现当作明天最新的起点．．～
 * <p>
 * Today the best performance as tomorrow the newest starter!
 *
 * @ClassName UserController
 * @Description 用户相关接口
 * @Date 2025-09-17 18:08
 * @版本 V 1.0.1
 * @since JDK 17
 */
@RestController
@RequestMapping("/user")
public class UserController {
    @Resource
    private UserService userService;

    @RequestMapping("/getUserCount")
    public Integer getUserCount() {
        return userService.getUserCount();
    }
}
